package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import springfox.documentation.annotations.ApiIgnore;

@ApiModel(value = "订单信息", description = "用于商店的用户信息")
public class Address
{
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "收货地址", example = "XX市XX镇XX路XX号",required = true)
    private String address;
    @ApiModelProperty(value = "收货人", example = "李某",required = true)
    private String user;
    @ApiModelProperty(value = "联系电话", example = "145XXXXXXXX",required = true)
    private String phone;
    @ApiModelProperty(value = "用户ID", example = "26",required = true)
    private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
